package com.cyj.minio;

import cn.hutool.core.date.DateUtil;
import com.alibaba.nacos.spring.context.annotation.config.NacosPropertySource;
import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @Description: SpringBoot集成Minio案例Demo
 * @BelongsProject: SpringBoot-MinIO
 * @BelongsPackage: com.cyj.minio
 * @Author: ChenYongJia
 * @CreateTime: 2021-09-13 13:10
 * @Email: chen87647213@163.com
 * @Version: 1.0
 */
@Slf4j
@MapperScan("com.cyj.minio.mapper")
@SpringBootApplication(scanBasePackages = {"com.cyj.minio"})
public class SpringBootMinIOApplication {

    /**
     * 项目启动方法
     *
     * @param args the input arguments
     * @date 2021-9-3 14:15:42
     * @author Sunny Chen
     */
    public static void main(String[] args) {
        log.info("SpringBoot集成Minio案例项目开始启动ing！======>{}", DateUtil.now());
        SpringApplication.run(SpringBootMinIOApplication.class, args);
        log.info("SpringBoot集成Minio案例项目启动成功ing.......！======>{}", DateUtil.now());
    }

}
